import request from '@/utils/request'

export function getTodoList(params) {
  return request({
    url: 'todo/list',
    method: 'get',
    params
  })
}

export function setRead(params) {
  return request({
    url: 'todo/read',
    method: 'get',
    params
  })
}